import { ref } from 'vue'

export function useQrcode() {
  const visible = ref(true)

  function toggleVisibility() {
    visible.value = !visible.value
  }

  return {
    isShowQrcode: visible,
    toggleQrcodeVisibility: toggleVisibility,
  }
}
